Skip to content

feat(frontend): add i18n support for Yoruba, Igbo, and Hausa - #190

Open
annieolivia61-ux wants to merge 1 commit into
arflexx:mainfrom
annieolivia61-ux:feat/issue-68-i18n-support
Open

feat(frontend): add i18n support for Yoruba, Igbo, and Hausa#190
annieolivia61-ux wants to merge 1 commit into
arflexx:mainfrom
annieolivia61-ux:feat/issue-68-i18n-support

Conversation

@annieolivia61-ux

Copy link
Copy Markdown
Contributor

Closes #68

What changed

  • Installs and configures next-intl with locales en, yo, ig, ha.
  • Adds translation catalogs under frontend/locales/[locale]/common.json for home, auth, wallet, and trade pages.
  • Enables URL-based locale prefixing via i18n middleware (/yo/wallet; default en has no prefix).
  • Adds a language switcher dropdown to the Navbar, persisting the choice in the NEXT_LOCALE cookie.
  • Replaces hardcoded UI strings with translation keys across home, auth (sign-up/verify), wallet, and trade pages.

How to test

  • cd frontend && pnpm exec next build
  • pnpm exec jest

@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@annieolivia61-ux Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@dark-sarge dark-sarge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please resolve all conflicts

- Install and configure next-intl with locales en, yo, ig, ha
- Add URL-based locale prefixing (as-needed) via the i18n middleware
- Create translation catalogs under frontend/locales/[locale]/common.json
- Add a language switcher to the Navbar with cookie persistence
- Replace hardcoded strings with translation keys across home, auth,
  wallet, and trade pages

Closes arflexx#68
@annieolivia61-ux
annieolivia61-ux force-pushed the feat/issue-68-i18n-support branch from 2a03d03 to a8d39b5 Compare August 30, 2026 00:17
@annieolivia61-ux

Copy link
Copy Markdown
Contributor Author

@dark-sarge all conflicts resolved - I rebased the branch onto the latest main and re-merged every file (layout, profile, trades detail, wallet, withdraw modal, next.config.js, package.json, pnpm-lock.yaml).

Key merges:

Verified locally:

ext build - passes (all 15 routes compile, middleware included)

  • sc --noEmit - clean
  • jest - 71/71 tests pass (added the missing providers component the existing suite imports)

Note: several CI checks (Frontend (Next.js), Server (TypeScript), Trivy, Frontend CI lint) currently fail identically on the main branch (e.g. setup-node cache references nonexistent package-lock.json, and
ext lint has no ESLint config in the repo). Happy to address those separately if you'd like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[frontend] - Add Internationalisation (i18n) Support for Yoruba, Igbo, and Hausa

2 participants